﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 排班模板日志表
    /// </summary>
    public partial class TbCinfigerSchedulingTempleLog
    {
        /// <summary>
        /// id
        /// </summary>
        public int SchedulingId { get; set; }
        /// <summary>
        /// 科室id
        /// </summary>
        public int Subjectid { get; set; }
        public string? RootNum { get; set; }
        /// <summary>
        /// 值班日期
        /// </summary>
        public DateTime? DutyDate { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 值班天数
        /// </summary>
        public int Days { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartDate { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 是否失效
        /// </summary>
        public int IsExpire { get; set; }
        /// <summary>
        /// 放号天数？
        /// </summary>
        public int OpenNumDays { get; set; }
        /// <summary>
        /// 最多可登记号源
        /// </summary>
        public int? MaxRegistSource { get; set; }
        /// <summary>
        /// 值班日期
        /// </summary>
        public int WeekDay { get; set; }
        /// <summary>
        /// 排班类型
        /// </summary>
        public int ScheType { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int IsUse { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreatedBy { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreatedDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int? UpdatedBy { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? UpdatedDate { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public string? Hospitalcode { get; set; }
        /// <summary>
        /// 初次就诊最大数量
        /// </summary>
        public int MaximumNewVisits { get; set; }
        /// <summary>
        /// 常用门诊？
        /// </summary>
        public int? OftenMz { get; set; }
    }
}
